<h2>Commentaires sur <%= h @post.title.downcase %></h2>

<ul>
<% for comment in @comments %>
  <li><%= h comment.content %> <br/>
    <%= link_to 'Edit', edit_post_comment_path(@post, comment) %> |
    <%= link_to 'Destroy', post_comment_path(@post, comment), :confirm => 'Are you sure?', :method => :delete %>
	</li>
<% end %>
</ul>

<br />

<%= link_to 'Ajouter un commentaire', new_post_comment_path(@post) %> |
<%= link_to 'Revenir au post', post_path(@post) %> 